package presentation;

import java.util.ArrayList;
import java.util.List;

import metier.AnneeMetier;
import modele.Annee;
import modele.Indicateur;
import modele.Valeur;

import com.opensymphony.xwork2.ActionSupport;

public class GrapheAction extends ActionSupport
{
		private static final long serialVersionUID = 7608206044887440915L;
		private ArrayList<Annee>  xAxis;
		private ArrayList<Annee>  series;
		
		public String afficherGraphe() {
			
			xAxis = (ArrayList<Annee>) AnneeMetier.getListeAnnees(2000,2009);
			series  = (ArrayList<Annee>) AnneeMetier.getListeAnnees(2000,2009);
			return SUCCESS;
				
			
		}

		public ArrayList<Annee> getxAxis() {
			return xAxis;
		}

		public void setxAxis(ArrayList<Annee> xAxis) {
			this.xAxis = xAxis;
		}

		public ArrayList<Annee> getSeries() {
			return series;
		}

		public void setSeries(ArrayList<Annee> series) {
			this.series = series;
		}
		
		
		
	
}